<template>
	<div></div>
</template>

<script>
	import {
		Toast
	} from 'mint-ui';
	export default {
		name: 'logout',
		data() {
			return {
				userphone: '',
				userpwsd: '',
			}
		},
		mounted() {
			Toast('已退出，请重新登录')
			var obj = {
				userphone: '',
				userpwsd: '',
				logged: false
			};
			window.localStorage.setItem("key", JSON.stringify(obj));
			this.$router.push({
				name: 'login',
			})
		}
	}
</script>

<style>
</style>
